home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Frameworks / Extension Shell 1.3 / Sample Extensions / MacCough ƒ / MacCough ReadMe < prev    next >
Encoding:
Text File  |  1994-04-19  |  586 b   |  11 lines  |  [TEXT/R*ch]

  1. MacCough
  2. --------
  3.  
  4. The coughing noise (and the icon) of MacCough was taken from Timothy Miller's “Sniff™” INIT.
  5.  
  6. It is an example of using Extension Shell to install a Time Manager task, and extend the address table.
  7. The net effect is to make your Mac cough every 10 seconds after startup. Since Time Manager
  8. tasks are't allowed to move memory, we install a Notification Manager request that plays the
  9. sound for us. NM requests don't execute at interrupt time, so we're safe. Of course, this means that
  10. the sound won't be played *exactly* at 10 second intervals, but it's close enough.
  11.